package com.eml.service.entity;

public class Deliverer {

    private Integer delivererId;//配送员编号
    private String delivererName;//配送员姓名
    private String delivererUsername;//配送员登陆账号
    private String delivererPassword;//配送员注册密码

    public Deliverer() {
    }

    public Deliverer(String delivererName, String delivererUsername, String delivererPassword) {
        this.delivererName = delivererName;
        this.delivererUsername = delivererUsername;
        this.delivererPassword = delivererPassword;
    }

    public Deliverer(Integer delivererId, String delivererName, String delivererUsername, String delivererPassword) {
        this.delivererId = delivererId;
        this.delivererName = delivererName;
        this.delivererUsername = delivererUsername;
        this.delivererPassword = delivererPassword;
    }

    public int getDelivererId() {
        return delivererId;
    }

    public void setDelivererId(Integer delivererId) {
        this.delivererId = delivererId;
    }

    public String getDelivererName() {
        return delivererName;
    }

    public void setDelivererName(String delivererName) {
        this.delivererName = delivererName;
    }

    public String getDelivererUsername() {
        return delivererUsername;
    }

    public void setDelivererUsername(String delivererUsername) {
        this.delivererUsername = delivererUsername;
    }

    public String getDelivererPassword() {
        return delivererPassword;
    }

    public void setDelivererPassword(String delivererPassword) {
        this.delivererPassword = delivererPassword;
    }

    @Override
    public String toString() {
        return "Deliverer{" +
                "delivererId=" + delivererId +
                ", delivererName='" + delivererName + '\'' +
                ", delivererUsername='" + delivererUsername + '\'' +
                ", delivererPassword='" + delivererPassword + '\'' +
                '}';
    }
}
